D. I Love 1543 | Codeforces Round 984 |